/*    */ package client.skills;
/*    */ 
/*    */ import com.fasterxml.jackson.annotation.JsonCreator;
/*    */ import com.fasterxml.jackson.annotation.JsonProperty;
/*    */ import java.io.Serializable;
/*    */ 
/*    */ 
/*    */ 
/*    */ public class SkillEntry
/*    */   implements Serializable
/*    */ {
/*    */   private static final long serialVersionUID = 9179541993413738569L;
/*    */   public final byte position;
/*    */   public long expiration;
/*    */   public int skillevel;
/*    */   public int teachId;
/*    */   public byte masterlevel;
/*    */   public byte rank;
/*    */   
/*    */   @JsonCreator
/*    */   public SkillEntry(@JsonProperty("skilllevel") int skillevel, @JsonProperty("masterlevel") byte masterlevel, @JsonProperty("expiration") long expiration) {
/* 22 */     this.skillevel = skillevel;
/* 23 */     this.masterlevel = masterlevel;
/* 24 */     this.expiration = expiration;
/* 25 */     this.teachId = 0;
/* 26 */     this.position = -1;
/*    */   }
/*    */ 
/*    */ 
/*    */ 
/*    */   
/*    */   public SkillEntry(int skillevel, byte masterlevel, long expiration, int teachId) {
/* 33 */     this.skillevel = skillevel;
/* 34 */     this.masterlevel = masterlevel;
/* 35 */     this.expiration = expiration;
/* 36 */     this.teachId = teachId;
/* 37 */     this.position = -1;
/*    */   }
/*    */ 
/*    */ 
/*    */ 
/*    */   
/*    */   public SkillEntry(int skillevel, byte masterlevel, long expiration, int teachId, byte position) {
/* 44 */     this.skillevel = skillevel;
/* 45 */     this.masterlevel = masterlevel;
/* 46 */     this.expiration = expiration;
/* 47 */     this.teachId = teachId;
/* 48 */     this.position = position;
/*    */   }
/*    */ 
/*    */   
/*    */   public String toString() {
/* 53 */     return this.skillevel + ":" + this.masterlevel;
/*    */   }
/*    */ }


/* Location:              C:\PGX\Server.jar!\client\skills\SkillEntry.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */